Python project template - VSCode
Table of Content
Python project template - VSCode#
VSCode setting and extensions for python project
Settings#
Project explorer#
exclude files
"files.exclude": {
"venv/": true,
"**/__pycache__": true,
}
Extensions#
Tasks#
Load VSCode Tasks into Status Bar.
Demo#
- config isort as task
Taskextension addstatusbarto task config option{ "version": "2.0.0", "tasks": [ { "label": "isort", "type": "shell", "command": "isort ${file}", "options": { "statusbar": { "color" : "#22C1D6", "tooltip" : "run isort", "label": "isort", "filePattern": "py" } } } ] }
task useful links
global tasks.json
Place task file at ~/.config/Code/User/tasks.json